<style type="text/css">   
     .toolbar {
        /*float: right;*/
        padding-top: 12px;
        padding-left: 20px;
        padding-bottom: 12px;
    }

    form {
        margin: 0 0 0px;
    }
        
     .form-horizontal .control-group {
    margin-bottom: 6px;
    }
    
    .form-horizontal .control-label {
float: left;
width: 140px;
padding-top: 5px;
text-align: right;
}

.form-horizontal .controls {
margin-left: 160px;
}
</style>
<div class="row-fluid">
<div class="span10">
<div class="box">
<div class="title">
<h4><span class="icon16 cc-icon-users-2"></span> <span>{$title }</span>
</h4>
<a href="#" class="minimize" style="display: none;">Minimize</a></div>
<div class="content noPad clearfix">
<form id="fm_level_update" class="form-horizontal form-inline" action="__APP__/System/levels_update" method="post">         
<div class='toolbar'>
    <span>

    <button type="submit" id="btndel" class="btn btn-small"><i class="cc-icon-floppy "></i> 保存更改</button>
    </span>
</div>

<table id="client_data" cellpadding="0" cellspacing="0" border="0" class="dynamicTable display table table-bordered">
        <thead>
            <tr>
                <th style="width:20%;">用户组名称</th>
                <th style=";">用户组说明</th>
                <th style="width:30px">序号</th>
                <th style="width:80px">操作</th>
            </tr>
        </thead>
        <tbody>
             <iterate name="data" id="item">

                <tr>
                    <td><input type="text" id="levelname[]" name="levelname[]" style="width:94%;" value="{$item['LevelName']}"/>
                        <input id="id[]" name="id[]" type="hidden" value="{$item['Id']}" />
                        </td>
                    <td>
                    <input type="text" id="leveldesc[]" name="leveldesc[]" style="width:98%;" value="{$item['LevleDesc']}"/></td>

                    <td><input type="text" id="seq[]" name="seq[]" style="width:90%;" value="{$item['Seq']}"/></td>
                    <td><a id='btnnew' class="btn btn-small btn-danger" href="__APP__/System/levels_remove?id={$item['Id']}" onclick='return window.confirm("确认要删除吗?");'>
                            <i class="icon-trash icon-white"></i> 删除 </a></td>
                </tr>

            </iterate>
        </tbody>
    </table>
</form>
<form class="well form-horizontal"  action="__APP__/System/levels_add" method="post">
    <label>新增用户组</label>
  <input type="text" class="input-small" placeholder="用户组名称" style="width:20%" name="LevelName">
  
  <input type="text" class="input-small" placeholder="用户组描述" style="width:60%" name="LevleDesc">

  <input type="text" class="input-small" placeholder="显示序号" style="width:8%" name="Seq">
  <button type="submit" class="btn">添加</button>
</form>
</div>
</div>
    
<script type="text/javascript">
     $(function(){
         $("input, textarea, select").not(".nostyle").uniform();
         
        
        
     });
     
</script>
        